package com.example.demo.service;

import com.example.demo.entity.VideoSource;
import com.example.demo.repository.VideoSourceRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by Administrator on 2018/1/8 0008.
 */
@Service
public class VideoSourceServiceImpl  {
    @Autowired
    private VideoSourceRepository videoSourceRepository;

    public List<VideoSource> getAllVideoInfo(){

        List<VideoSource> videoSourceList=videoSourceRepository.findAll();
        return  videoSourceList;
    }
}
